package com.wanxi.service.impl;

import com.wanxi.dao.NewsContentDao;
import com.wanxi.dao.impl.NewsContentDaoImpl;
import com.wanxi.dao.impl.NewsContentTwoDaoImpl;
import com.wanxi.entity.NewsContentEntity;
import com.wanxi.service.NewsContentService;

import java.util.List;

/**
 * Created by IntelliJ IDEA.
 *
 * @Author : 林子淳
 * @create 2023/2/21 23:22
 */
public class NewsContentTwoServiceImpl implements NewsContentService {
    private NewsContentDao newContentTwo = new NewsContentTwoDaoImpl();

    @Override
    public List<NewsContentEntity> selectServic() {
        List<NewsContentEntity> newContentTwoSelect = newContentTwo.select();
        return newContentTwoSelect;
    }
}
